package org.zp.service;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import org.zp.mapper.CheckInfoMapper;

@Service
@Transactional(rollbackFor = Exception.class)//出现异常就回滚事务
public class CheckInfoServiceimpl implements CheckInfoService{
@Resource
private CheckInfoMapper c;

@Override
public Integer addCheckinfo(Long aid, Integer eid, Integer uid, Integer sendState) {
	// TODO Auto-generated method stub
	return c.addCheckInfo(aid,eid,uid,sendState);
}




@Override
public Integer countNetWorkInfo(int iStatus, Integer areaid) {
	// TODO Auto-generated method stub
	return c.countNetWorkInfo(iStatus,areaid);
}}
